<template>
  <div>
      
  </div>
</template>

<script>
export default {
    methods:{
      async getView(){
        let data = {username:'pqv', password:'13246'}
        const { data:resp } =await this.$http.post("http://localhost:9000/api/test", JSON.stringify(data))
        console.log( resp)
      }
    },
    mounted:function(){
      this.getView()
    }
}
</script>

<style>

</style>